
import request from '@/utils/request';

//查询列表
export async function queryPageList(params) {
  return request('/b/scanresulttable/queryTablePageList', {
    method: 'POST',
    data: params,
  });
}

//根据表查看列
export async function queryColumnList(params) {
  return request('/b/dbscanresult/queryColumnList', {
    method: 'POST',
    data: params,
  });
}


//查询分级
export async function queryLevelList(params) {
  return request('/b/datalevel/queryPageList', {
    method: 'POST',
    data: params,
  });
}

//查询分类
export async function queryTypeCodeList(params) {
  return request('/b/datatype/queryTreeList', {
    method: 'POST',
    data: params,
  });
}

//查询数据库
export async function queryDatabaseList(params) {
  return request('/b/dbinfo/queryAuthList', {
    method: 'POST',
    data: params,
  });
}
